package com.tengju.user.application.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "MobileManageChangeForm", description = "后台变更手机号请求参数对象")
@NoArgsConstructor
public class MobileManageChangeForm {

    @ApiModelProperty("idCode")
    @NotNull(message = "idCode不能为空")
    private Long idCode;

    @ApiModelProperty("老区号")
    @NotNull(message = "老区号不能为空")
    private String oldAreaCode;

    @ApiModelProperty("老手机号")
    @NotNull(message = "老手机号不能为空")
    private String oldMobile;

    @ApiModelProperty("新区号")
    @NotNull(message = "新区号不能为空")
    private String newAreaCode;

    @ApiModelProperty("新手机号")
    @NotNull(message = "新手机号不能为空")
    private String newMobile;

}
